const loginController = require('../controllers/loginController');
const { userValidationRules, validate } = require('../validator')

module.exports = (app) => {
    //app.route('/login').post(loginController.login)
    app.post('/login', userValidationRules(), validate, loginController.login);
};